/**
 * @Copyright: Interactive Business Solution Pte Ltd, Singapore
 * @Author: Li Wen, 2007-11-24
 * @Version: 071124.001
 * Model class for city, following properties are requried
 * id, name, cityCode, country, continent, offlineOperator
 */
package com.ibsol.model
{
	[Bindable]
	[RemoteClass(alias="com.ibsol.tourix.model.City")]
	public class City
	{
		private var _id:int;
		private var _name:String;
		private var _cityCode:String;
		private var _country:String;
		private var _continent:String;
		private var _offlineOperator:String;
		private var _updateTime:String;
		private var _x:int;
		private var _y:int;
		/**
		 * Default constructor of City class
		 */
		public function City()
		{
			_id = 0;
			_name = "";
			_cityCode = "";
			_country = "";
			_continent = "";
			_offlineOperator = "";
			_updateTime = "";
			_x=0;
			_y=0;
		}
		public function set id(value:int):void{
			this._id = value;
		}
		public function set name(value:String):void{
			this._name = value;
		}
		public function set cityCode(value:String):void{
			this._cityCode = value;
		}
		public function set country(value:String):void{
			this._country = value;
		}
		public function set continent(value:String):void{
			this._continent = value;
		}
		public function set offlineOperator(value:String):void{
			this._offlineOperator = value;
		}
		public function set updateTime(value:String):void{
			this._updateTime = value;
		}
		public function set x(value:int):void{
			this._x=value;
		}
		public function set y(value:int):void{
			this._y=value;
		}
		
		
		
		
		public function get id():int{
			return this._id;
		}
		public function get name():String{
			return this._name;
		}
		public function get cityCode():String{
			return this._cityCode;
		}
		public function get continent():String{
			return this._continent;
		}
		public function get offlineOperator():String{
			return this._offlineOperator;
		}
		public function get updateTime():String{
			return this._updateTime;
		}
		
		public function get x():int{
			return this._x;
		}
		public function get y():int{
			return this._y;
		}
		public function get country():String{
			return this._country;
		}
	}
}